package com.example.actuator;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * localhost:8080/actuator/custom
 * 返回：{"name1":"RateLimitAppInterceptor","onOrOff1":"OFF","name2":"RateLimitUserInterceptor","onOrOff2":"OFF"}
 * 用postman输入params，调修改参数的端点POST类型接口，然后调接口/dynamicUpdateBean，发现值被修改了
 */
@SpringBootApplication
public class ActuatorApplication {

    public static void main(String[] args) {
        SpringApplication.run(ActuatorApplication.class, args);
    }

}
